home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / fax / src / etc / config.class2.0 < prev    next >
Text File  |  1994-08-01  |  3KB  |  70 lines

  1. # $Header: /usr/people/sam/fax/etc/RCS/config.class2.0,v 1.1 1994/02/18 17:19:02 sam Rel $
  2. #
  3. # Generic Class 2.0 modem configuration.
  4. #
  5. # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
  6. #
  7. CountryCode:        1        # USA
  8. LongDistancePrefix:    1
  9. InternationalPrefix:    011
  10. AreaCode:        415
  11. DialStringRules:    etc/dialrules
  12. FAXNumber:        +1.415.965.7824
  13. ServerTracing:        1        # log server-related operations
  14. SessionTracing:        11        # log server-related operations
  15. RecvFileMode:        0600        # recvd facsimile are not public
  16. LogFileMode:        0600        # private log files
  17. DeviceMode:        0600        # device is accessible only to uucp/fax
  18. #QualifyTSI:        etc/tsi        # accept facsimile from anyone
  19. SpeakerVolume:        off        # machine's are already too loud
  20. RingsBeforeAnswer:    1        # answer on first ring
  21. #
  22. # Modem-related stuff: should reflect modem command interface
  23. # and hardware connection/cabling (e.g. flow control).
  24. #
  25. ModemType:        Class2.0    # use this to supply a hint
  26. ModemRate:        19200        # max rate for DCE-DTE communication
  27. ModemFlowControl:    xonxoff        # XON/XOFF flow control assumed
  28. ModemSetupDTRCmd:    &D2        # setup so DTR drop resets modem
  29. ModemSetupDCDCmd:    &C1        # setup so DCD reflects carrier (or not)
  30. #GettyArgs:        "-h %l dx_%s"    # requires modem to auto-detect fax/data
  31. #
  32. # We normally append the "@" symbol to the dial string so that
  33. # the modem will wait 5 seconds before attempting to connect
  34. # and return result codes that distinguish between no carrier
  35. # and no answer.  This makes it possible to avoid problems with
  36. # repeatedly dialing a number that doesn't have a fax machine
  37. # (kudos to Stuart Lynne for this trick.)
  38. #
  39. # NB: If you need to prefix phone numbers to get through a PBX,
  40. #     put it in the ModemDialCmd; e.g. "DT9%s@".
  41. #
  42. ModemDialCmd:        DT%s@        # T for tone dialing, @ for silence
  43. #
  44. # Other possible configuration stuff.  The default strings are
  45. # shown below.  Only those that are different from the defaults
  46. # need to be included in the configuration file.
  47. #
  48. ModemResetCmds:        ""        # stuff to do when modem is reset
  49. ModemAnswerCmd:        "A"        # use this to answer phone
  50. ModemFlowControlCmd:    &K4        # set desired flow control method
  51. ModemNoAutoAnswerCmd:    S0=0        # disable auto-answer
  52. #
  53. # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
  54. # Note that we both turn the speaker on/off and set volume.
  55. #
  56. ModemSetVolumeCmd:    "M0 L0M1 L1M1 L2M1 L3M1"
  57. ModemEchoOffCmd:    E0        # disable command echo
  58. ModemVerboseResultsCmd:    V1        # enable verbose command results
  59. ModemResultCodesCmd:    Q0        # enable result codes
  60. ModemOnHookCmd:        H0        # place phone on hook (hangup)
  61. ModemSoftResetCmd:    Z        # do soft reset of modem
  62. ModemWaitTimeCmd:    S7=30        # wait 30 seconds for carrier
  63. ModemCommaPauseTimeCmd:    S8=2        # comma pause time is 2 seconds
  64. ModemRecvFillOrder:    LSB2MSB        # bit order of received facsimile
  65. ModemSendFillOrder:    LSB2MSB        # bit order modem expects for transmit
  66. #
  67. # Configuration parameters for Class 2.0 modems.
  68. #
  69. Class2BORCmd:        BOR=0        # bit order for phase B/C/D (direct)
  70.